projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e38c5
)
tests/testsocket.c: Use accessor functions to access GtkWidget
author
Javier Jardón
<jjardon@gnome.org>
Sun, 15 Aug 2010 22:32:28 +0000
(
00:32
+0200)
committer
Javier Jardón
<jjardon@gnome.org>
Sun, 22 Aug 2010 16:30:44 +0000
(18:30 +0200)
tests/testsocket.c
patch
|
blob
|
history
diff --git
a/tests/testsocket.c
b/tests/testsocket.c
index 103b9658052b0cd2080da6a0b591c94c2ad31c13..b4ef47658166d14e32d2041e0b077f592af905f2 100644
(file)
--- a/
tests/testsocket.c
+++ b/
tests/testsocket.c
@@
-286,7
+286,8
@@
grab_window_toggled (GtkToggleButton *button,
{
int status;
- status = gdk_keyboard_grab (widget->window, FALSE, GDK_CURRENT_TIME);
+ status = gdk_keyboard_grab (gtk_widget_get_window (widget),
+ FALSE, GDK_CURRENT_TIME);
if (status != GDK_GRAB_SUCCESS)
g_warning ("Could not grab keyboard! (%s)", grab_string (status));